package controller;
import java.io.IOException;
import javax.servlet.http.*;

@SuppressWarnings("serial")
public class SearchToolServlet extends HttpServlet {
	public void doGet(HttpServletRequest req, HttpServletResponse resp) throws IOException {
		resp.setContentType("text/plain");
		resp.getWriter().println("Hello, world");
		
		String tool = req.getParameter("tool");
		String name = req.getParameter("name");
		
		try {
			req.getRequestDispatcher("/search_tool.jsp").forward(req, resp);
		} catch (Exception e) {
			// TODO: handle exception
		}
	}
}
